import request from '@/utils/request'

export function getOutworkerIncomes (data) {
  return request({
    url: '/api/Finance/CaseEmployeeIncomeStas/GetOutworkerIncomes',
    method: 'post',
    data
  })
}

export function getInworkerIncomes (data) {
  return request({
    url: '/api/Finance/CaseEmployeeIncomeStas/GetInworkerIncomes',
    method: 'post',
    data
  })
}

export function editBaseSum (params) {
  return request({
    url: '/api/Finance/CaseEmployeeIncomeStas/EditBaseSum',
    method: 'get',
    params
  })
}

export function createOutworkerIncomes (data) {
  return request({
    url: '/api/Finance/CaseEmployeeIncomeStas/CreateOutworkerIncomes',
    method: 'post',
    data
  })
}

export function createInworkerIncomes (data) {
  return request({
    url: '/api/Finance/CaseEmployeeIncomeStas/CreateInworkerIncomes',
    method: 'post',
    data
  })
}